package com.landleaf.smarthome.model;

import java.io.Serializable;
import java.util.List;

/**
 * When I wrote this, only God and I understood what I was doing
 * Now, God only knows
 * Created by 海航
 * 2020/9/24
 * 功能描述: 场景模式下  选择不同的模式 譬如 制冷 制热,面板的设置温度不同 那么就对应有几个HvacSceneModel对象
 * 如下面数据 制冷的时候  风量是低 打开开关,然后面板的属性等   综合起来表示一个HvacSceneModel,对应的制热有一个类似的HvacSceneModel
 * 基于后台选择的模式数量来组一个基于暖通的List<HvacSceneModel>  感觉文字描述的不清楚 头疼不知道怎么描述
 *{
 *             "atts ": [
 *                 {
 *                     "attTag": "mode",
 *                     "attValue": "cold"
 *                 },
 *                 {
 *                     "attTag": "wind",
 *                     "attValue": "low"
 *                 },
 *                 {
 *                     "attTag": "switch",
 *                     "attValue": "on"
 *                 }
 *             ],
 *             "temPanel": [
 *                 {
 *                     "atts ": [
 *                         {
 *                             "attTag": "switch",
 *                             "attValue": "on"
 *                         },
 *                         {
 *                             "attTag": "tempSetting",
 *                             "attValue": 26
 *                         }
 *                     ],
 *                     "productTag": "temPanel",
 *                     "sn": 5
 *                 }
 *             ]
 *         }
 *
 *
 */
public class HvacSceneModeListModel implements Serializable {
    List<DeviceAttribute> attrs;//每个mode对应一个这个集合
    List<DeviceModel> temPanel;//温控面板

    public List<DeviceAttribute> getAtts() {
        return attrs;
    }

    public void setAtts(List<DeviceAttribute> atts) {
        this.attrs = atts;
    }

    public List<DeviceModel> getTemPanel() {
        return temPanel;
    }

    public void setTemPanel(List<DeviceModel> temPanel) {
        this.temPanel = temPanel;
    }
}
